package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.battcn.config.MybatisConfigurer;

/**
 * @author yanglei
 *
 *         2017年11月26日
 */
/*@SpringBootApplication
@EnableScheduling
@EnableCaching
@MapperScan(basePackages = { "com.battcn.platform.mapper" })
@ComponentScan(basePackages = { "com.battcn.framework.quartz","com.battcn.platform.service.email", "com.battcn.platform.service", "com.battcn.config", 
		"com.battcn.platform.mapper.crow.movie" })
*/public class SpringbootRabbitApplication {

	public static void main(String[] args) {
		ApplicationContext ctx = SpringApplication.run(SpringbootRabbitApplication.class, args);
		String[] beanNames = ctx.getBeanDefinitionNames();
		System.out.println("所以beanNames个数：" + beanNames.length);
		for (String bn : beanNames) {
			System.out.println(bn);
		}
	}
}
